home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / prolog.faq < prev    next >
Encoding:
Internet Message Format  |  1994-05-18  |  13.8 KB

  1. Subject: comp.lang.prolog Frequently Asked Questions
  2. Newsgroups: comp.lang.prolog,news.answers,comp.answers
  3. From: jamie@cs.sfu.ca (Jamie Andrews)
  4. Date: Mon, 16 May 1994 09:00:13 GMT
  5.  
  6. Posted-By: auto-faq script
  7. Archive-name: prolog/faq
  8.  
  9. Original-by: jamie@cs.sfu.ca (Jamie Andrews)
  10. Version: 1.15
  11. Last-modified: 4/2/94 by jamie@cs.sfu.ca (Jamie Andrews)
  12.  
  13.      This article contains the answers to some Frequently Asked
  14. Questions (FAQ) often seen in comp.lang.prolog.  It is posted
  15. (twice a month, currently on the 1st and 16th) to help reduce
  16. volume in this newsgroup and to provide hard-to-find information
  17. of general interest.
  18.  
  19.      This article includes answers to the following questions.
  20.  
  21. 0. General information
  22. 1. What is the Association for Logic Programming?
  23. 2. Where can I get a public-domain, free Prolog for (the IBM PC,
  24.    the Mac, Unix)?
  25. 3. What commercial systems are available?  What about systems
  26.    available for a price from research institutions?
  27. 4. How do I get in touch with my Prolog's users' group,
  28.    sales representative, or technical support line?
  29. 5. I think language X is better than Prolog.  What do you think?
  30. 6. My Prolog prof assigned me this problem.  Can you help
  31.    me with it?
  32. 7. Can you suggest some books on Prolog?
  33. 8. Are there any FTP archive sites for comp.lang.prolog?
  34. 9. How can I get a copy of the draft ISO Prolog standard?
  35.    Where can I go for more information about it?
  36. 10. How does the WAM (Warren Abstract Machine) work?  How do I
  37.    write a WAM-based compiler or a WAM emulator?
  38.  
  39.      Please forward suggestions for further questions and
  40. answers to the current FAQ maintainer, jamie@cs.sfu.ca (Jamie
  41. Andrews).
  42.  
  43. Changes in this version:
  44. * Updated information for ECLiPSe/Sepia.
  45. * Updated FTP address for SWI-Prolog.
  46. * Updated information for Amzi! inc.
  47.  
  48.             *    *    *
  49.  
  50. 0. General information
  51.  
  52.      The newsgroup "comp.lang.prolog" discusses the language
  53. Prolog and other "logic programming" languages.  Logic
  54. programming languages, in general, are programming languages
  55. which incorporate some of the language of mathematical logic;
  56. unification and backtracking search are common operational
  57. features.  For more background information about Prolog, see the
  58. list of books in Question 7 of this list.
  59.  
  60.             *    *    *
  61.  
  62. 1. What is the Association for Logic Programming?
  63.  
  64.      To keep up with the current state of logic programming
  65. technology, readers can join the Association for Logic
  66. Programming (ALP) and receive their Newsletter.  For details on
  67. how to join, contact:
  68.  
  69.         Cheryl Anderson,
  70.         ALP Administrative Secretary,
  71.         Dept. of Computing,
  72.         Imperial College,
  73.         180 Queen's Gate,
  74.         London, SW7 2BZ, UK
  75.  
  76. Email:   csa@doc.ic.ac.uk
  77. Fax:    +44 71 589 1552
  78. Phone:  +44 71 589 5111 x5011
  79.  
  80.      The Prolog Resource Guide (v0.6) was printed in issue 5/1
  81. of the Newsletter (Feb. 1992). This lists information concerning
  82. Prolog Archives, Books, Suppliers, etc.  It is now maintained by
  83. Mark Kantrowitz (Mark.Kantrowitz@GLINDA.OZ.CS.CMU.EDU), and
  84. posted periodically to comp.lang.prolog (see question 3).
  85.  
  86.      To send in Newsletter contributions, write to:
  87.  
  88.         Andrew Davison,
  89.         Dept. of Computer Science,
  90.         University of Melbourne,
  91.         Parkville,
  92.         Melbourne, Victoria 3052,
  93.         AUSTRALIA
  94.  
  95. Email:   ad@cs.mu.oz.au
  96. Fax:    +61 3 348 1184
  97. Phone:  +61 3 344 7207 / 5230
  98. Telex:   AA 35185
  99.  
  100.             *    *    *
  101.  
  102. 2. Where can I get a public-domain, free Prolog for (the IBM PC,
  103.    the Mac, Unix)?
  104.  
  105.      The following are anonymous-FTP sites for free Prologs
  106. which are either in the public domain or are "copy-lefted"
  107. (permitted to be copied with some restrictions on commercial use).
  108.  
  109.      [Please see Mark Kantrowitz's monthly "Prolog Resource
  110. Guide" posting (see question 3) for information about non-free
  111. implementations.]
  112.  
  113.      (Please note that for extensive development work, users
  114. will probably want a robust interpreter or compiler with good
  115. debugging facilities and a standard syntax, among other things.
  116. While public-domain systems are a valuable service to the
  117. community, they do not necessarily have all these things, and
  118. users should weigh carefully what they want to do against the
  119. capabilities and costs of the available systems.)
  120.  
  121. For the IBM PC:
  122. - BinProlog 2.10, anonymous FTP from clement.info.umoncton.ca
  123.   (139.103.16.2), directory BinProlog.  Compiler for 386/486
  124.   machines (DOS + WIndows 3.1), R6000.
  125.   E-mail: tarau@info.umoncton.ca (Paul Tarau).
  126. - Anonymous FTP from aisun1.ai.uga.edu, directory ai.prolog;
  127.   download "Contents" first.  ADA Prolog and ESL Prolog.
  128.   E-mail: mcovingt@uga.cc.uga.edu (Michael Covington).
  129. - SWI Prolog, anonymous FTP from swi.psy.uva.nl (145.18.114.17),
  130.   directory pub/SWI-Prolog; or from ftp.th-darmstadt.de
  131.   (130.83.55.75), directory pub/programming/languages/prolog.
  132.   Portable, copy-lefted.
  133.  
  134. For the Apple Macintosh:
  135. - Anonymous FTP from aisun1.ai.uga.edu, directory ai.prolog;
  136.   download "Contents" first.  Demo version of LPA MacProlog.
  137.   E-mail: mcovingt@uga.cc.uga.edu (Michael Covington).
  138. - Open Prolog, anonymous FTP from its home site: grattan.cs.tcd.ie
  139.   (134.226.32.15), directory pub/languages/open-prolog.
  140.   Also available from sumex-aim.stanford.edu, directory
  141.   info-mac/Development.  E-mail: brady@cs.tcd.ie (Michael Brady).
  142. - UPMAIL Tricia Prolog, anonymous FTP from ftp.csd.uu.se
  143.   (130.238.12.1), directory pub/Tricia; get README first.
  144.   Email: tricia-request@csd.uu.se.
  145. - TPM (the Transparent Prolog Machine), anonymous FTP from
  146.   hcrl.open.ac.uk, directory /pub/software.  Demo LPA
  147.   MacProlog with the TPM debugger built on top.
  148.  
  149. For Unix systems:
  150. - BinProlog 2.10, anonymous FTP from clement.info.umoncton.ca
  151.   (139.103.16.2), directory BinProlog.  Compiler for SPARC
  152.   (SunOS 4.x + Solaris), DEC Alpha, MIPS, NeXT, Sun3.
  153.   E-mail: tarau@info.umoncton.ca (Paul Tarau).
  154. - SWI Prolog, anonymous FTP from swi.psy.uva.nl (145.18.114.17),
  155.   directory pub/SWI-Prolog; or from ftp.th-darmstadt.de
  156.   (130.83.55.75), directory pub/programming/languages/prolog.
  157.   Portable, copy-lefted.
  158. - Modular SB-Prolog (= SB-Prolog version 3.1 plus modules),
  159.   anonymous FTP from ftp.dcs.ed.ac.uk (129.215.160.5), file
  160.   pub/dts/mod-prolog.tar.Z .  Interpreter for SPARC.
  161.   E-mail: mprolog@dcs.ed.ac.uk (Brian Paxton).
  162. - ALF (Algebraic Logic Functional language), WAM-based language
  163.   with narrowing/rewriting, anonymous FTP from ftp.germany.eu.net,
  164.   directory "pub/programming/languages/LogicFunctional".
  165.   E-mail: opalla@julien.informatik.uni-dortmund.de (Rudolf Opalla).
  166. - CLP(R), available by e-mail request from Joxan Jaffar,
  167.   "joxan@watson.ibm.com".  Constraint logic programming language,
  168.   for academic and research purposes only.
  169. - Aquarius Prolog 1.0, send message with body "get aquarius-info
  170.   license" to listserv@acal-server.usc.edu.  High performance,
  171.   commercial functionality except debugging and modules.  For
  172.   SPARC, DECstation, MIPS, HP 9000 series, Sun 3.  Copy-lefted.
  173. - XSB, system with OLDT-resolution and HiLog capability.  Compiler
  174.   for Linux, Sun, Sparc, and NeXT.  Anonymous FTP from
  175.   cs.sunysb.edu (130.245.1.15), directory pub/XSB.
  176.   E-mail: xsb-contact@cs.sunysb.edu
  177.  
  178.             *    *    *
  179.  
  180. 3. What commercial systems are available?  What about systems
  181.    available for a price from research institutions?
  182.  
  183.      Many commercial systems are listed in the periodically
  184. posted Prolog Resource Guide.  The Resource Guide also lists
  185. many systems which are not exactly "commercial", but available
  186. for a price from research instutitions.  The list of such
  187. systems was originally compiled by Chris Moss, of Imperial
  188. College.  The rest of the Resource Guide was originally compiled
  189. by Dag Wahlberg, of Uppsala University.
  190.  
  191.      The Resource Guide is now maintained by the kind efforts
  192. of Mark Kantrowitz, "Mark.Kantrowitz@GLINDA.OZ.CS.CMU.EDU", who
  193. posts it ON THE 14TH OF EVERY MONTH on comp.lang.prolog.  It is
  194. also available by anonymous FTP from "ftp.cs.cmu.edu" [128.2.206.173]
  195. in the directory "/afs/cs.cmu.edu/user/mkant/Public/AI/", as the
  196. file "prolog-resource-guide.text".
  197.  
  198.      Readers should also note that the newly formed Prolog
  199. Vendors' Group is contactable electronically via the Secretary,
  200. Al Roth.  His email is "alroth@cix.compulink.co.uk".
  201.  
  202.             *    *    *
  203.  
  204. 4. How do I get in touch with my Prolog's users' group,
  205.    sales representative, or technical support line?
  206.  
  207.      Here are some e-mail addresses of these contacts, listed
  208. alphabetically by company or major product name.  Please note
  209. that sometimes phoning or writing to the company will get better
  210. response than e-mail.
  211.  
  212. ALS (Applied Logic Systems): 
  213.   Information:    info@als.com
  214.   Sales:    sales@als.com
  215.   Tech support:    support@als.com
  216.  
  217. Amzi! inc. (Cogent Prolog):
  218.   All:        amzi@world.std.com
  219.  
  220. COSYTEC (CHIP V4):
  221.   Information:    cosytec@cosytec.fr
  222.   Support:    help@cosytec.fr
  223.  
  224. ECLiPSe and Sepia:
  225.   User's group:    eclipse_users@ecrc.de
  226.   Information:    eclipse_request@ecrc.de
  227.   Tech support:    eclipse_bugs@ecrc.de
  228.  
  229. Expert Systems Ltd. (Prolog-2):
  230.   Sales:    sales@expert.demon.co.uk
  231.   Support:    support@expert.demon.co.uk
  232.   Users' group:    prolog2-request@hplb.hpl.hp.com
  233.  
  234. LPA:
  235.   Sales:    lpa@cix.compulink.co.uk
  236.   Tech support:    lpa@cix.compulink.co.uk
  237.  
  238. PDC Prolog:
  239.   Information:    pdc-request@pdc.dk
  240.   Sales:    sales@pdc.dk
  241.   Tech support:    support@pdc.dk
  242.  
  243. ProLog by BIM:
  244.   Contact:    prolog@sunbim.be (Kathleen Pierco)
  245.  
  246. Quintus:
  247.   Users' group:    quintus-users-request@quintus.com
  248.   Sales:    sales@quintus.com
  249.   Tech support:    teksup@quintus.com
  250.  
  251. SICStus:
  252.   Users' group:    sicstus-users-request@sics.se
  253.   Sales:    sicstus-request@sics.se
  254.   Tech support:    sicstus-bug@sics.se
  255.  
  256. Turbo Prolog:
  257.   Turbo Prolog is the older name for PDC Prolog (see above).
  258.  
  259.             *    *    *
  260.  
  261. 5. I think language X is better than Prolog.  What do you think?
  262.  
  263.      These debates rarely result in any productive discussion.
  264. To some extent, one's favourite language is based on irrational
  265. ideology.
  266.  
  267.      However, many people now agree that different languages are
  268. good for different things.  Prolog seems to be good for problems
  269. in which logic is intimately involved, or whose solutions have a
  270. succinct logical characterization.  Like other interactive,
  271. symbolic languages, Prolog is also good for rapid prototyping.
  272.  
  273.      Also, please note that there are many different "Prologs"
  274. and other logic programming languages available, all with
  275. different capabilities.
  276.  
  277.             *    *    *
  278.  
  279. 6. My Prolog prof assigned me this problem.  Can you help
  280.    me with it?
  281.  
  282.      If your instructor assigned it to you, he or she probably
  283. wanted you to do it yourself.  If it's an introductory Prolog
  284. course, your question might be elementary to most readers, so it
  285. might be a waste of network resources to ask it.  Please ask
  286. your instructor, a friend, a teaching assistant, or a local
  287. newsgroup for help first.
  288.  
  289.      That being said, there are comp.lang.prolog readers who
  290. would be glad to help people making a legitimate attempt to
  291. learn Prolog.
  292.  
  293.             *    *    *
  294.  
  295. 7. Can you suggest some books on Prolog?
  296.  
  297.      The Prolog Resource Guide (see above, question 3) contains
  298. a listing of Prolog books.  It is maintained by Mark Kantrowitz
  299. (Mark.Kantrowitz@GLINDA.OZ.CS.CMU.EDU), and posted periodically
  300. on comp.lang.prolog.
  301.  
  302.      Here are some of the most popular books on Prolog.
  303.  
  304. _Programming in Prolog_.  William F. Clocksin and Christopher S.
  305. Mellish.  Springer-Verlag, 1987.  (Introductory.)
  306.  
  307. _The Art of Prolog:  Advanced Programming Techniques_.  Leon
  308. Sterling and Ehud Shapiro.  MIT Press, 1986.  (Advanced.)
  309.  
  310. _The Craft of Prolog_.  Richard A. O'Keefe.  MIT Press, 1990.
  311. (Advanced.)
  312.  
  313. _Foundations of Logic Programming_.  John Lloyd. 
  314. Springer-Verlag, 1988 (2nd ed).  (Logic programming theory.)
  315.  
  316.             *    *    *
  317.  
  318. 8. Are there any FTP archive sites for comp.lang.prolog?
  319.  
  320.      Yes.  As of the latest check, the following archive sites
  321. contain selected recent articles from comp.lang.prolog in the
  322. indicated directories.
  323.  
  324. "cs.dal.ca": /pub/comp.archives/comp.lang.prolog
  325. "rtfm.mit.edu": /pub/usenet/comp.lang.prolog
  326. "src.doc.ic.ac.uk": /usenet/comp.archives/auto/comp.lang.prolog
  327. "cnam.cnam.fr": /pub/Archives/comp.archives/auto/comp.lang.prolog
  328.  
  329.      Some other sites contain copies of this FAQ list and the
  330. Prolog Resource Guide (see question 3).  For users with "archie"
  331. access, type "archie comp.lang.prolog" for an up-to-date list of
  332. sites having either archives or the periodic postings.
  333.  
  334.             *    *    *
  335.  
  336. 9. How can I get a copy of the draft ISO Prolog standard?
  337.    Where can I go for more information about it?
  338.  
  339.      You can pick up a copy by anonymous FTP from site
  340. "ai.uga.edu", directory "ai.prolog.standard".  The directory
  341. also contains a summary of the standard, by Michael Covington,
  342. in the "isoprolog" files.  Note that no one at that site can
  343. answer any questions about the standard; it is just an FTP site
  344. for the standard in the USA.
  345.  
  346.      For more information about the ISO Prolog standard, contact
  347.  
  348. Roger Scowen 
  349. ISO/IEC JTC1 SC22 WG17 (Prolog) convener, 
  350. DITC/93,  National Physical Laboratory
  351. TEDDINGTON, Middlesex TW11 0LW
  352. UNITED KINGDOM
  353. Tel: +44 81 943 6956
  354. Fax: +44 81 977 7091
  355. E-mail: rss@seg.npl.co.uk
  356.  
  357.             *    *    *
  358.  
  359. 10. How does the WAM (Warren Abstract Machine) work?  How do I
  360.    write a WAM-based compiler or a WAM emulator?
  361.  
  362.      Reportedly the best tutorial is Hassan Ait-Kaci's book
  363. _Warren's Abstract Machine: A Tutorial Reconstruction_ (MIT
  364. Press, 1991).  A public-domain WAM emulator, written in C++ by
  365. Herve Touati, is available by anonymous FTP at site
  366. "gatekeeper.dec.com", in directory "pub/plan/prolog/ucb".
  367.  
  368.             *    *    *
  369.  
  370. Acknowledgements
  371.  
  372.      For help in putting together this FAQ, thanks to Andrew
  373. Davison, Mike Brady, Michael Covington, Stephen Bevan, John
  374. Dowding, Thilo Kielmann, Paul Singleton, Dave Moffatt, Dani de
  375. Ridder, Per Bilse, Chris Moss, Kathleen Pierco, Paul Tarau,
  376. Jonathan Kamens, Jan Wielemaker, Dag Wahlberg, Micha Meier, Don
  377. Sannella, Clive Spenser, Yuan Liu, Jonas Barklund, and Ian
  378. Dickinson.  Special thanks to John Dowding for suggesting a good
  379. format for the list, and to Chris Moss, Dag Wahlberg, and Mark
  380. Kantrowitz for their work on the Prolog Resource Guide.
  381.  
  382. --Jamie Andrews.
  383.   jamie@cs.sfu.ca
  384.  
  385.